﻿<%@ Page Language="C#" Title="Tasty Side Items" AutoEventWireup="true" CodeFile="MobileSideItems.aspx.cs" MasterPageFile="MobileMasterPage.master" Inherits="MobileSideItems" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
    
<asp:Content ID="Content2" ContentPlaceHolderID="MWSContentPlaceHolder" Runat="Server">   

    <div id="container">

	<div id="mainheader" style="color: #000000"> Add Side Items 
        <img alt="" src="Images/TastyPizzariaLogo.png" style="height: 80px" align="middle" /></div>
        
    <div id="maincontent" align="center"> 

        <img alt="" src="Images/Sides1.jpg" width="60" /> Select Side Items Below<br />
        <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList1" DefaultValue="3" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />

        <img alt="" src="Images/dessert1.jpg" width="60" height="50" /> Select Side Items Below<br />
        <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList2" DefaultValue="8" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <asp:Button ID="Button1" runat="server" Text="Add to Order" 
            onclick="Button1_Click" />
        <br />
        <br />
        
    </div>
    
    </div>
    
    </asp:Content>
